package com.sx.micowell.framework.adapter.binding;

import androidx.databinding.BindingAdapter;

import com.example.mvvm.bar.TitleBar;

public class TitleBarBinding {

    @BindingAdapter("bindingTitle")
    public  static void setTitleBar(TitleBar titleBar, String title){
        if(titleBar!=null){
            titleBar.setTitle(title);
        }
    }
}